


const ffdsaf =require('electron');

window.addEventListener("DOMContentLoaded", () => {

  const oBtn = document.getElementById("btn");
  oBtn.addEventListener("click", () => {

    let indexWin = new ffdsaf.remote.BrowserWindow({
      width: 200,
      height: 200,
    });
    indexWin.loadFile("cls.html");
    indexWin.on("close", () => {
      indexWin = null;
    });
  });
});
